package api

import (
	"github.com/gin-gonic/gin"
	"wonlicsys/api/v1/Api"
	"wonlicsys/router/handle"
)

func BaseRoute(g *gin.RouterGroup) *gin.RouterGroup {
	BaseGroup := g.Group("/base")
	{
		handle.Handle(BaseGroup, []string{"POST"}, "/upload", Api.FileUpload)
		//handle.Handle(BaseGroup, []string{"POST"}, "/uploads", Api.FileUploads)
	}

	return BaseGroup
}
